﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CLFramework.Caching
{
    public class CachedItem
    {
        public CachedItem() { }

        public CachedItem(string key, string type, int count)
        {
            this.CacheKey = key;
            this.CacheType = type;
            this._count = count.ToString();
        }

        public CachedItem(string key, string type)
            : this(key, type, 0)
        { }

        private string _cacheKey;
        public string CacheKey
        {
            get { return this._cacheKey; }
            set { this._cacheKey = value; }
        }

        private string _cacheType;
        public string CacheType
        {
            get { return this._cacheType; }
            set { this._cacheType = value; }
        }

        private string _count;
        public string Count
        {
            get { return _count; }
        }
    }
}
